# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'main.ui'
##
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
    QCursor, QFont, QFontDatabase, QGradient,
    QIcon, QImage, QKeySequence, QLinearGradient,
    QPainter, QPalette, QPixmap, QRadialGradient,
    QTransform)
from PySide6.QtWidgets import (QApplication, QFrame, QHBoxLayout, QHeaderView,
    QLabel, QMainWindow, QMenu, QMenuBar,
    QPushButton, QSizePolicy, QStatusBar, QTableView,
    QToolButton, QVBoxLayout, QWidget)

from src.ui.focus_locked_line_edit import FocusLockedLineEdit

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(800, 600)
        MainWindow.setMinimumSize(QSize(800, 600))
        self.actionexport = QAction(MainWindow)
        self.actionexport.setObjectName(u"actionexport")
        self.actionmergetables = QAction(MainWindow)
        self.actionmergetables.setObjectName(u"actionmergetables")
        self.actionhelprecordingmode = QAction(MainWindow)
        self.actionhelprecordingmode.setObjectName(u"actionhelprecordingmode")
        self.actioncheckprinter = QAction(MainWindow)
        self.actioncheckprinter.setObjectName(u"actioncheckprinter")
        self.actioncheckbartender = QAction(MainWindow)
        self.actioncheckbartender.setObjectName(u"actioncheckbartender")
        self.actionhelpprint = QAction(MainWindow)
        self.actionhelpprint.setObjectName(u"actionhelpprint")
        self.actionimport = QAction(MainWindow)
        self.actionimport.setObjectName(u"actionimport")
        self.actionprintallstuxueji = QAction(MainWindow)
        self.actionprintallstuxueji.setObjectName(u"actionprintallstuxueji")
        self.actionprintallstutuanyuan = QAction(MainWindow)
        self.actionprintallstutuanyuan.setObjectName(u"actionprintallstutuanyuan")
        self.actionprintallstudangyuan = QAction(MainWindow)
        self.actionprintallstudangyuan.setObjectName(u"actionprintallstudangyuan")
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_2 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.start_recording_button = QPushButton(self.centralwidget)
        self.start_recording_button.setObjectName(u"start_recording_button")
        self.start_recording_button.setMinimumSize(QSize(0, 40))
        icon = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.MediaPlaybackStart))
        self.start_recording_button.setIcon(icon)

        self.horizontalLayout.addWidget(self.start_recording_button)

        self.stop_recording_button = QPushButton(self.centralwidget)
        self.stop_recording_button.setObjectName(u"stop_recording_button")
        self.stop_recording_button.setMinimumSize(QSize(0, 40))
        icon1 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.MediaPlaybackStop))
        self.stop_recording_button.setIcon(icon1)

        self.horizontalLayout.addWidget(self.stop_recording_button)


        self.verticalLayout.addLayout(self.horizontalLayout)

        self.line = QFrame(self.centralwidget)
        self.line.setObjectName(u"line")
        self.line.setFrameShape(QFrame.Shape.HLine)
        self.line.setFrameShadow(QFrame.Shadow.Sunken)

        self.verticalLayout.addWidget(self.line)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.lineEdit = FocusLockedLineEdit(self.centralwidget)
        self.lineEdit.setObjectName(u"lineEdit")
        self.lineEdit.setMinimumSize(QSize(0, 40))

        self.horizontalLayout_2.addWidget(self.lineEdit)


        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.verticalLayout_3 = QVBoxLayout()
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.list_all_button = QPushButton(self.centralwidget)
        self.list_all_button.setObjectName(u"list_all_button")
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.list_all_button.sizePolicy().hasHeightForWidth())
        self.list_all_button.setSizePolicy(sizePolicy)
        self.list_all_button.setMinimumSize(QSize(0, 40))

        self.horizontalLayout_3.addWidget(self.list_all_button)

        self.list_completed_button = QPushButton(self.centralwidget)
        self.list_completed_button.setObjectName(u"list_completed_button")
        self.list_completed_button.setMinimumSize(QSize(0, 40))

        self.horizontalLayout_3.addWidget(self.list_completed_button)

        self.list_incompleted_button = QPushButton(self.centralwidget)
        self.list_incompleted_button.setObjectName(u"list_incompleted_button")
        self.list_incompleted_button.setMinimumSize(QSize(0, 40))

        self.horizontalLayout_3.addWidget(self.list_incompleted_button)

        self.toolButton = QToolButton(self.centralwidget)
        self.toolButton.setObjectName(u"toolButton")
        self.toolButton.setAutoRaise(False)
        self.toolButton.setArrowType(Qt.ArrowType.NoArrow)

        self.horizontalLayout_3.addWidget(self.toolButton)


        self.verticalLayout_3.addLayout(self.horizontalLayout_3)

        self.tableView = QTableView(self.centralwidget)
        self.tableView.setObjectName(u"tableView")
        self.tableView.setSortingEnabled(True)
        self.tableView.horizontalHeader().setCascadingSectionResizes(False)
        self.tableView.horizontalHeader().setMinimumSectionSize(25)
        self.tableView.horizontalHeader().setStretchLastSection(False)
        self.tableView.verticalHeader().setProperty(u"showSortIndicator", False)

        self.verticalLayout_3.addWidget(self.tableView)

        self.line_2 = QFrame(self.centralwidget)
        self.line_2.setObjectName(u"line_2")
        self.line_2.setFrameShape(QFrame.Shape.HLine)
        self.line_2.setFrameShadow(QFrame.Shadow.Sunken)

        self.verticalLayout_3.addWidget(self.line_2)

        self.table_rows_num_label = QLabel(self.centralwidget)
        self.table_rows_num_label.setObjectName(u"table_rows_num_label")

        self.verticalLayout_3.addWidget(self.table_rows_num_label)


        self.verticalLayout.addLayout(self.verticalLayout_3)


        self.verticalLayout_2.addLayout(self.verticalLayout)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 800, 33))
        self.menufiles = QMenu(self.menubar)
        self.menufiles.setObjectName(u"menufiles")
        self.menu = QMenu(self.menubar)
        self.menu.setObjectName(u"menu")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.menubar.addAction(self.menufiles.menuAction())
        self.menubar.addAction(self.menu.menuAction())
        self.menufiles.addAction(self.actionimport)
        self.menufiles.addAction(self.actionexport)
        self.menufiles.addAction(self.actionmergetables)
        self.menufiles.addSeparator()
        self.menufiles.addAction(self.actionprintallstuxueji)
        self.menufiles.addAction(self.actionprintallstutuanyuan)
        self.menufiles.addAction(self.actionprintallstudangyuan)
        self.menufiles.addSeparator()
        self.menufiles.addAction(self.actioncheckprinter)
        self.menufiles.addAction(self.actioncheckbartender)
        self.menu.addAction(self.actionhelprecordingmode)
        self.menu.addAction(self.actionhelpprint)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"HITSZ\u5165\u5b66\u6863\u6848\u56de\u6267\u7cfb\u7edf", None))
        self.actionexport.setText(QCoreApplication.translate("MainWindow", u"\u5bfc\u51fa\u8868\u683c...", None))
        self.actionmergetables.setText(QCoreApplication.translate("MainWindow", u"\u5408\u5e76\u8868\u683c...", None))
        self.actionhelprecordingmode.setText(QCoreApplication.translate("MainWindow", u"\u5173\u4e8e\u5f55\u5165\u6a21\u5f0f...", None))
        self.actioncheckprinter.setText(QCoreApplication.translate("MainWindow", u"\u68c0\u67e5\u6253\u5370\u673a...", None))
        self.actioncheckbartender.setText(QCoreApplication.translate("MainWindow", u"\u68c0\u67e5Bartender...", None))
        self.actionhelpprint.setText(QCoreApplication.translate("MainWindow", u"\u5173\u4e8e\u6253\u5370...", None))
        self.actionimport.setText(QCoreApplication.translate("MainWindow", u"\u5bfc\u5165\u8868\u683c...", None))
        self.actionprintallstuxueji.setText(QCoreApplication.translate("MainWindow", u"\u6253\u5370\u6240\u6709\u5b66\u751f\u7684\u5b66\u7c4d\u6863\u6848...", None))
        self.actionprintallstuxueji.setIconText(QCoreApplication.translate("MainWindow", u"\u6253\u5370\u6240\u6709\u5b66\u751f\u7684\u5b66\u7c4d\u6863\u6848", None))
#if QT_CONFIG(tooltip)
        self.actionprintallstuxueji.setToolTip(QCoreApplication.translate("MainWindow", u"\u6253\u5370\u6240\u6709\u5b66\u751f\u7684\u201c\u5b66\u7c4d\u6863\u6848\u201d", None))
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        self.actionprintallstuxueji.setWhatsThis(QCoreApplication.translate("MainWindow", u"<html><head/><body><p>\u6253\u5370\u6240\u6709\u5b66\u751f\u7684\u201c\u5b66\u7c4d\u6863\u6848\u201d</p></body></html>", None))
#endif // QT_CONFIG(whatsthis)
        self.actionprintallstutuanyuan.setText(QCoreApplication.translate("MainWindow", u"\u6253\u5370\u6240\u6709\u5b66\u751f\u7684\u56e2\u5458\u6863\u6848...", None))
        self.actionprintallstudangyuan.setText(QCoreApplication.translate("MainWindow", u"\u6253\u5370\u6240\u6709\u5b66\u751f\u7684\u515a\u5458\u6750\u6599...", None))
        self.start_recording_button.setText(QCoreApplication.translate("MainWindow", u"\u5f00\u542f\u5f55\u5165\u6a21\u5f0f", None))
        self.stop_recording_button.setText(QCoreApplication.translate("MainWindow", u"\u505c\u6b62\u5f55\u5165", None))
        self.lineEdit.setInputMask("")
        self.lineEdit.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u641c\u7d22\u5b66\u53f7\u6216\u59d3\u540d...", None))
        self.list_all_button.setText(QCoreApplication.translate("MainWindow", u"\u67e5\u770b\u5168\u90e8\u540d\u5355", None))
        self.list_completed_button.setText(QCoreApplication.translate("MainWindow", u"\u67e5\u770b\u5df2\u5f55\u5165\u540d\u5355", None))
        self.list_incompleted_button.setText(QCoreApplication.translate("MainWindow", u"\u67e5\u770b\u672a\u5f55\u5165\u540d\u5355", None))
        self.toolButton.setText(QCoreApplication.translate("MainWindow", u"...", None))
        self.table_rows_num_label.setText(QCoreApplication.translate("MainWindow", u"\u5f53\u524d\u8868\u683c\u884c\u6570\uff1a", None))
        self.menufiles.setTitle(QCoreApplication.translate("MainWindow", u"\u6587\u4ef6", None))
        self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u5e2e\u52a9", None))
    # retranslateUi

